.class Lcom/xingbook/b/d;
.super Lcom/xingbook/park/e/d;


# instance fields
.field final synthetic a:Lcom/xingbook/b/c;


# direct methods
.method constructor <init>(Lcom/xingbook/b/c;Lcom/xingbook/park/e/c;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    invoke-direct {p0, p2}, Lcom/xingbook/park/e/d;-><init>(Lcom/xingbook/park/e/c;)V

    return-void
.end method


# virtual methods
.method public endElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 4

    const/4 v0, 0x1

    const/4 v1, 0x0

    const-string v2, "info"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget v2, v2, Lcom/xingbook/b/c;->b:I

    if-lez v2, :cond_1

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v1, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/b/c;->f:Ljava/lang/String;

    :cond_0
    :goto_0
    return-void

    :cond_1
    const-string v2, "res"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string v2, "message"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    iget-object v0, p0, Lcom/xingbook/b/d;->i:Lcom/xingbook/park/e/c;

    iget-object v1, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/e/c;->a(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    const-string v2, "mid"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v2, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, v1}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/b/c;->g:I

    goto :goto_0

    :cond_3
    const-string v2, "city"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_4

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v2, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, v1}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/b/c;->h:I

    goto :goto_0

    :cond_4
    const-string v2, "noticeId"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v2, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, v1}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/b/c;->i:I

    goto :goto_0

    :cond_5
    const-string v2, "price"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_6

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v2, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, v1}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/b/c;->j:I

    goto :goto_0

    :cond_6
    const-string v2, "gift"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_7

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v1, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, -0x1

    invoke-static {v1, v2}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/b/c;->k:I

    goto/16 :goto_0

    :cond_7
    const-string v2, "members"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_8

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/c/j;->a(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_8
    const-string v2, "unbind"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_a

    iget-object v2, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v3, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3, v1}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v3

    if-ne v3, v0, :cond_9

    :goto_1
    iput-boolean v0, v2, Lcom/xingbook/b/c;->l:Z

    goto/16 :goto_0

    :cond_9
    move v0, v1

    goto :goto_1

    :cond_a
    const-string v0, "icon"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    sget-object v0, Lcom/xingbook/c/n;->e:Lcom/xingbook/b/a;

    iget-object v1, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/b/a;->a(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_b
    const-string v0, "signInGolds"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_c

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v2, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, v1}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/b/c;->n:I

    goto/16 :goto_0

    :cond_c
    const-string v0, "signin_gold_prompt"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v1, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/b/c;->o:Ljava/lang/String;

    goto/16 :goto_0
.end method

.method public startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
    .locals 5

    const/4 v2, 0x1

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/xingbook/b/d;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->length()I

    move-result v1

    invoke-virtual {v0, v4, v1}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;

    const-string v0, "res"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/b/d;->i:Lcom/xingbook/park/e/c;

    invoke-virtual {v0, p4}, Lcom/xingbook/park/e/c;->a(Lorg/xml/sax/Attributes;)V

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v1, p0, Lcom/xingbook/b/d;->i:Lcom/xingbook/park/e/c;

    invoke-virtual {v1}, Lcom/xingbook/park/e/c;->b()J

    move-result-wide v1

    iput-wide v1, v0, Lcom/xingbook/b/c;->m:J

    :cond_0
    :goto_0
    return-void

    :cond_1
    const-string v0, "update"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    new-instance v1, Lcom/xingbook/c/r;

    invoke-direct {v1}, Lcom/xingbook/c/r;-><init>()V

    iput-object v1, v0, Lcom/xingbook/b/c;->a:Lcom/xingbook/c/r;

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v0, v0, Lcom/xingbook/b/c;->a:Lcom/xingbook/c/r;

    const-string v1, "versionId"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/c/r;->b(I)V

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v0, v0, Lcom/xingbook/b/c;->a:Lcom/xingbook/c/r;

    const-string v1, "versionName"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/c/r;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v0, v0, Lcom/xingbook/b/c;->a:Lcom/xingbook/c/r;

    const-string v1, "versionCode"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/c/r;->c(I)V

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v0, v0, Lcom/xingbook/b/c;->a:Lcom/xingbook/c/r;

    const-string v1, "versionMini"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-wide/16 v2, 0x0

    invoke-static {v1, v2, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;J)J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/c/r;->a(J)V

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    const-string v1, "needUpdate"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/b/c;->b:I

    goto :goto_0

    :cond_2
    const-string v0, "package"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget v0, v0, Lcom/xingbook/b/c;->b:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_3

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    invoke-interface {p4, v4}, Lorg/xml/sax/Attributes;->getValue(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/b/c;->c:Ljava/lang/String;

    goto :goto_0

    :cond_3
    const-string v0, "file"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget v0, v0, Lcom/xingbook/b/c;->b:I

    if-ne v0, v2, :cond_4

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v0, v0, Lcom/xingbook/b/c;->d:Ljava/util/ArrayList;

    new-instance v1, Lcom/xingbook/b/g;

    const-string v2, "src"

    invoke-interface {p4, v2}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "dst"

    invoke-interface {p4, v3}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/xingbook/b/g;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    :cond_4
    const-string v0, "data"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget v0, v0, Lcom/xingbook/b/c;->b:I

    if-ne v0, v2, :cond_0

    iget-object v0, p0, Lcom/xingbook/b/d;->a:Lcom/xingbook/b/c;

    iget-object v0, v0, Lcom/xingbook/b/c;->e:Ljava/util/ArrayList;

    new-instance v1, Lorg/apache/http/message/BasicNameValuePair;

    const-string v2, "name"

    invoke-interface {p4, v2}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "value"

    invoke-interface {p4, v3}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lorg/apache/http/message/BasicNameValuePair;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0
.end method
